package com.shao.transport.message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 服务调用方发起的响应内容
 * @author PaoFu
 * @version 1.0
 * @data 2025/4/17 15:34
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class SrpcResponse {

    // 请求的ID
    private long requestId;

    // 请求码
    private byte responseCode;
    // 压缩类型
    private byte compressType;
    // 序列化类型
    private byte serializeType;


    // 具体的消息体
    private Object body;
}
